<div id="left_panel">
    <div class="title">+ Our Photos</div>
    <div class="gallery_photo">
        {{foreach $Data["gallerys"] as $g}}
            <a style="float: left;position: relative" 
               rel="prettyPhoto[{{$g->_alias}}]"
               title="{{$g->_name}}"
               href="{{$g->_thumb}}">
                <div class="_photo-over" style="position: relative;">
                    <img src="{{$g->_thumb}}" width="268" height="192"/>
                    <span></span>
                </div>
                
            </a>
            {{$ga_de=$Data[$g->_id]}}
            {{$f=true}}
            {{foreach $ga_de as $i}}
                <a style="margin: 0;padding: 0" 
                    rel="prettyPhoto[{{$g->_alias}}]"
                    title="{{$i->_title}}"
                    href="{{$i->_image}}"></a>
            {{/foreach}}
        {{/foreach}}
        <div class="clear"></div>
    </div>
</div>